package cn.kgc.dao;

import cn.kgc.pojo.AppCategory;
import cn.kgc.pojo.AppInfo;
import cn.kgc.pojo.AppVersion;
import cn.kgc.pojo.DataDictionary;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author:
 * @date: 2022/1/3
 * @description:
 */
public interface Gl_AppInfoDao {
    /**
     * 添加
     * @param appInfo
     * @return
     */
    int add(AppInfo appInfo);
    /*名字是否重复*/
    public AppInfo getAppInfo(@Param(value="id")Integer id, @Param(value="APKName")String APKName);

    public List<DataDictionary> getDataDictionaryList(@Param("typeCode")String typeCode)throws Exception;

    public List<AppCategory> getAppCategoryListByParentId(@Param("parentId")Integer parentId)throws Exception;

    public List<AppVersion> getAppVersionList(@Param("appId")Integer appId) throws Exception;

}
